home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 September / CHIP Eylül 1998.iso / Slackwar / docs / slack-docs / base / ip-down < prev    next >
Text File  |  1995-07-27  |  403b  |  11 lines

  1. #!/bin/sh
  2. # /etc/ppp/ip-down: the command executed by pppd when IP goes down.
  3. # Copyright 1994 John A. Phillips - john@linux.demon.co.uk
  4. #
  5. # Parameters:
  6. #     $1 = network interface used (e.g. ppp0)
  7. #     $2 = pathname of serial device file (e.g. /dev/modem or /dev/ttyS1)
  8. #     $3 = device speed (e.g. 38400)
  9. #     $4 = local address (e.g. 158.152.16.94)
  10. #     $5 = remote address (e.g. 158.152.1.222)
  11.